<template>
	<view class="systemInfoDetail">
		<view class="title">{{msg.title}}</view>
		<view class="time scale-1px-bottom">{{msg.create_time}}</view>
		<view class="">
			{{msg.desc}}
		</view>
		<view class="content" style="padding:20rpx" v-html="msg.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				msg:'',
				id:'',
				ip:'',
			}
		},
		onLoad(option) {
			this.id=option.id
			this.ip=option.ip
			this.getinfo()
		},
		methods: {
			getinfo(){
				this.http(this.ip, 'post', {id:this.id})
				.then(res => {
					if (res.sta == 200) {
						this.msg = res.data
						console.log(res)
					}
				})
			}
		},
	}
</script>

<style lang="less">
	.systemInfoDetail{
		padding: 0 40rpx;
		.title{
			text-align: center;
			padding-top: 50rpx;
			font-weight:bold;
			font-size: 32rpx;
		}
		.time{
			padding-top: 30rpx;
			color:rgba(190,201,215,1);
			font-size: 24rpx;
			text-align: center;
			padding-bottom: 50rpx;
		}
		.content{
			padding-top: 50rpx;
			margin-left: -40rpx;
		}
	}
</style>
